function SupType(){
	this.sname="sup";
	this.favs=["basket","foot"];
}
function SubType(){

}
SubType.prototype=new SupType();
var sub1=new SubType();
var sub2=new SubType();
sub1.sname="john";
sub1.favs.push("swim");

console.log(sub2.favs);

